package com.lpy.mybatis.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_userinfo")
public class UserInfo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("username")
    private String username;

    private String password;

    private Integer age;

    private Integer gender;

    private String phone;

    private Integer deleteFlag;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private String noExist;
}
